package com.cyt.sys.model.po;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 *@Author: YuShengQiang
 *@Date: 2018-11-16 11:05
 *@Description: 基础部分-用户
 */
@Data
@NoArgsConstructor
@Table(name = "base_user_post")
public class SysUserPost implements Serializable {

    @Id
    private String id;//主键

    @Column(name="user_id")
    private String userId;

    @Column(name="post_id")
    private String postId;

    @Column(name="create_time")
    private Date createTime;

    public SysUserPost(String userId, String postId) {
        this.userId = userId;
        this.postId = postId;
    }
}